package string;

public class Demo09 {
    public static void main(String[] args) {
        String name = "  \t \r \n Tom And Jerry   ";
        String n = name.trim();
        System.out.println(name);
        System.out.println(n);
    }
}
